package com.layblog.es.search.common;

import lombok.Data;

/**
 * 文章索引名称，支持按文章标题、作者、分类名称、内容、标签搜索
 *
 * @Author 林必昭
 * @Date 2022/1/7 12:16
 */
@Data
public class LayPostIndexKey {

    public static final String POST_TITLE = "title";
    public static final String POST_AUTHOR = "authorName";
    public static final String POST_CATEGORY = "categoryName";
    public static final String POST_DESCRIPTION = "content";
    public static final String POST_TAGS = "tags";
}
